
import { postRequest, getRequest } from '/@/lib/axios';

export const snordApi = {

    queryPage : (param) => {
        return postRequest('/snord/queryPage', param);
    },

    add: (param) => {
        return postRequest('/snord/add', param);
    },

    update: (param) => {
        return postRequest('/snord/update', param);
    },

    delete: (id) => {
        return getRequest(`/snord/delete/${id}`);
    },

    batchDelete: (idList) => {
        return postRequest('/snord/batchDelete', idList);
    },

    info: (param) => {
        return getRequest('/snord/info/' + param);
    },

    infoUnexecute: (id) => {
        return getRequest(`/snord/infoUnexecute/${id}`);
    },


};
